﻿using FMStudio.Domain.Properties;
using System.ComponentModel.DataAnnotations;

namespace FMStudio.Domain
{
    public interface IItem
    {
        ITrademark Trademark { get; set; }

        [Required(ErrorMessageResourceName = "ItemNameMandatory", ErrorMessageResourceType = typeof(Resources))]
        [StringLength(100, ErrorMessageResourceName = "ItemNameMaxLength", ErrorMessageResourceType = typeof(Resources))]
        string Name { get; set; }

        string Standard { get; set; }
    }
}
